package com.gdssoft.pdaweb.dao.water.impl;

/*
 *  捷达世软件(深圳)有限公司
 *  Copyright (C) 2008-2010 ShenZhen JieDaShi Software Limited Company.
 */

import java.util.List;

import com.gdssoft.core.dao.impl.BaseDaoImpl;
import com.gdssoft.pdaweb.dao.water.WaterMeterPlanDao;
import com.gdssoft.pdaweb.model.water.WaterMeterPlan;

@SuppressWarnings("unchecked")
public class WaterMeterPlanDaoImpl extends BaseDaoImpl<WaterMeterPlan> 
implements WaterMeterPlanDao {

	public WaterMeterPlanDaoImpl() {
		super(WaterMeterPlan.class);
	}

	@Override
	public List<WaterMeterPlan> listOpeningPlans() {
		String hql="from WaterMeterPlan where planStatus=1";
		return this.findByHql(hql);
	}
	
//	public AppUser getExecutor(){
//           AppUserDao appUserDao = new AppUser();
//		return null;		
//	}
}
